package com.jinbai.data_object;

public class AlbumDO {
    private Integer aid;
    private String title;
    private String cover;
    private Integer state;

    public AlbumDO(int aid, String title, String cover) {
        this.aid = aid;
        this.title = title;
        this.cover = cover;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public AlbumDO(int aid, String title, String cover, int state) {
        this.aid = aid;
        this.title = title;
        this.cover = cover;
        this.state = state;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "AlbumDO{" +
                "aid=" + aid +
                ", title='" + title + '\'' +
                ", cover='" + cover + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
